#!/usr/bin/env python

import re

html = '<span style="color: rgb(254, 0, 0);" id="q_current" class="font2">4.35</span>'

pat = r''

result = p.findall(pat, html)

print result
